gtk: mark MultiSelection::get_model as nullable
authorBilal Elmoussaoui <bil.elmoussaoui@gmail.com>
Sat, 1 Jan 2022 17:04:24 +0000 (18:04 +0100)
committerBilal Elmoussaoui <bil.elmoussaoui@gmail.com>
Sat, 1 Jan 2022 17:04:24 +0000 (18:04 +0100)
the constructor & setter takes a nullable model

gtk/gtkmultiselection.c

index 26590ec55feb9aed2d842b76371a20e40f6353be..bee83622c6b9f31f3b4763c5dc0093fdd65e908a 100644 (file)
@@ -396,7 +396,7 @@ gtk_multi_selection_new (GListModel *model)
  *
  * Returns the underlying model of @self.
  *
- * Returns: (transfer none): the underlying model
+ * Returns: (transfer none) (nullable): the underlying model
  */
 GListModel *
 gtk_multi_selection_get_model (GtkMultiSelection *self)